package com.hqyj.goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author sdx2009
 * @since 2022-09-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods")
public class Goods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 商品
     */
    @TableId(value = "goods_id", type = IdType.AUTO)
    private Integer goodsId;

    @TableField("goods_type")
    private String goodsType;

    @TableField("goods_name")
    private String goodsName;

    @TableField("goods_price")
    private Integer goodsPrice;

    @TableField("goods_nums")
    private Integer goodsNums;

    @TableField(value = "goods_join_time", fill = FieldFill.INSERT)
    private String goodsJoinTime;

    /**
     * 入库人
     */
    @TableField("goods_user_name")
    private String goodsUserName;

    /**
     * 供货商
     */
    @TableField("goods_suppliers_name")
    private String goodsSuppliersName;


}
